#pragma once
#define ZERO_VECTOR D3DXVECTOR3(0.0f,0.0f,0.0f)
#define STATE_PATHFIND 0
#define STATE_HPAPATHFIND 2
#define SRC_AND_DEST_PATHFIND 3
#define SRC_AND_DEST_HPAPATHFIND 4
#define STATE_VIS_CHECK_TILE_TO_TILE 5
#define STATE_VIS_CHECK_POS_TO_TILE 6
#define STATE_VIS_CHECK_POS_TO_POS 7
#define STATE_PATH_SMOOTHED 9
#define STATE_SET_NOT_WALKABLE 1
#define STATE_FINAL_PATH 8
#define STATE_UNIT_SET 10

class cMain
{
private:
int State;

public:
	int GetState(){ return State; }
	void SetState(int State){this->State = State; }
	void MainLoop();
	cMain();
	~cMain();
};